<%
    var obj={pageTitle:"软帝商城后台管理"}
%>
{{include "../layout_header.html",obj}}
<nav class=" navbar navbar-default navbar-fixed-top">
    <div class=" container-fluid">
        <div class=" navbar-header">
            <button type="button" class=" navbar-toggle" data-toggle="collapse" data-target="#navCollapse1">
                <span class=" icon-bar"></span>
                <span class=" icon-bar"></span>
                <span class=" icon-bar"></span>
            </button>
            <a href="#" class=" navbar-brand navbar-brand-top" style="font-size: 22px;font-weight: bold;">
                <img src="../../public/img/logo.png" class="logo" alt="">
                软帝商城后台管理
            </a>

        </div>
        <div class=" collapse navbar-collapse" id="navCollapse1">
            <ul class=" nav navbar-nav navbar-right">
                <li><a href="#">欢迎登陆：<b class=" text-danger">杨标</b></a></li>
                <li><a href="/adminInfo/logOut">退出系统</a></li>
            </ul>
        </div>

    </div>
</nav>
<div class="center">
    <div class="left">
        <!-- 加载菜单 -->
        {{include "./layout_menu.html"}}
    </div>
    <div class="right">
        <div class="alert alert-warning tips">
            <a href="#" class="close" data-dismiss="alert">
                &times;
            </a>
            <marquee><strong>通知：</strong>softeem商城已试运行，欢迎各们使用并提出宝贵意见</marquee>
        </div>
        <iframe onload="iframeLoad()" onreadystatechange="iframeStateChange(this)" src="" frameborder="0"
            name="mainFrame" id="mainFrame"></iframe>
    </div>
</div>
<script>
    function iframeLoad() {
        //当iframe加载完毕以后，我们要关闭加载动画 
        layer.closeAll();
    }
    //兼容性事件处理
    function iframeStateChange(obj) {
        if (obj.readyState == "complete") {
            layer.closeAll();
        }
    }
</script>
<style>
    .center {
        position: fixed;
        top: 50px;
        bottom: 0px;
        width: 100%;
    }

    .center .left {
        width: 230px;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        border-right: 1px solid #ececec;
    }

    .center .right {
        position: absolute;
        left: 230px;
        top: 0px;
        bottom: 0px;
        right: 0px;
    }

    .center .right .tips {
        position: absolute;
        top: 0px;
        width: 100%;
        height: 35px;
        padding: 0px;
        line-height: 35px;
    }

    .center .right .tips>a.close {
        float: none;
        position: absolute;
        right: 0px;
        z-index: 999;
    }

    .navbar-brand-top {
        font-size: 22px;
        font-weight: 700;
        padding: 0px;
        padding-left: 10px;
        height: 50px;
        line-height: 50px;
    }

    .navbar-brand-top>img {
        display: inline-block;
        height: 35px;
    }
</style>
{{include "../layout_footer.html"}}